<template>
  <div class="label-container">
    <LabelLeft v-bind="{ PageDataHooks: props.PageDataHooks }"></LabelLeft>
    <LabelRight
      v-bind="{ PageDataHooks: props.PageDataHooks }"
      v-if="props.PageDataHooks.dataInfo.labelModel.parentId !== 0"
    ></LabelRight>
    <div v-else class="right-container"></div>
  </div>
</template>
<script lang="ts" setup name="LabelConfig">
import LabelLeft from "./LabelLeft.vue";
import LabelRight from "./LabelRight.vue";
interface Prop {
  PageDataHooks: MarkPage.PageDataHooks;
}
const props = defineProps<Prop>();
</script>
<style lang="less" scoped>
@import url("../styles/markPage.less");
</style>
